<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>list</title>
</head>
<body>
    <span style="color:red;" th:text="${msg}"></span>
    <form action="/resources/save" method="post" >
        标题:<input type="text" name="head"><br><br>
        主体:<textarea name="body" cols="50" rows="12"></textarea><br>
        来自:<input type="text" name="from"><br>
        <input type="submit" value="保存">
    </form>
</body>
</html>